* {
    font-size: 12px;
}

.block {
    width: 100%;
    border: 1px solid #f00;
    display: inline-table;
    text-align: center;
}

.block ul {
    padding: 0;
    margin: 0 auto;
    display: inline-flex;
}

.block li {
    list-style: none;
    float: left;
    background: #abcdef;
    width: 100px;
    height: 30px;
    margin: 0 5px;
    text-align: center;
    line-height: 30px;
}

.block li a {
    text-decoration: none;
    font-size: 14px;
    color: antiquewhite;
    width: 100%;
    height: 100%;
    display: inline-block;
}

.block li a:hover {
    background: aqua;
    color: darkorange;
}